package com.cycleit.applicationexample.model {
	
	import com.cycleit.applicationexample.vo.user.User;
	
	import mx.collections.ArrayCollection;
	
	
	[Bindable]
	public class ExampleResponseModel {

		private static var _instance:ExampleResponseModel;
		
		public static function getInstance():ExampleResponseModel{
        	if(_instance == null) {
	       		_instance = new ExampleResponseModel(new SingleClass());
	    	}
	    	return _instance;
        }
        
		public function ExampleResponseModel(v:SingleClass) { }
		
		/***********
		 *  LOGIN  *
		 ***********/
		public var loginData:User;
		
		/****************
		 *  ENUMERATES  *
		 ****************/
		public var getCountriesData:ArrayCollection;
		public var getOccupationsData:ArrayCollection;
		
		/**********
		 *  USER  *
		 **********/
		public var getUsersData:ArrayCollection;
		public var getUserByIdData:User;
		
		/***********
		 *  FLAGS  *
		 ***********/
		public var flagMessageOk:Boolean = true;
		public var flagMessage:Boolean = false;
		public var flagRequest:Boolean = false;
		
		/*************
		 *  MESSAGE  *
		 *************/
		public var message:String;
		
	}
}
class SingleClass {}